package com.example.emos.api.db.dao;

import com.example.emos.api.db.pojo.TbPackManger;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;
@Mapper
public interface TbPackMangerDao {
    int deleteByPrimaryKey(Integer id);

    int insert(TbPackManger record);

    int insertSelective(TbPackManger record);

    HashMap selectByPrimaryKey(Integer id);
    HashMap selectByName(String params);
    public int update(HashMap params);

    int updateByPrimaryKeySelective(TbPackManger record);

    int updateByPrimaryKey(TbPackManger record);
    public ArrayList<HashMap> searchPackByPage(HashMap params);
    public long searchPackMangerCount(HashMap params);
    public int countByDeviceName(HashMap params);

}